#ifndef _UTIL_PICTURE_H_
#define _UTIL_PICTURE_H_

#include "image_format.h"

Image UtilPicGet(const char* file);

//转换格式,宽高都写0不缩放,其一写0时表示依照另一条边等比例缩放
Image UtilPicGet(const char* file, ImageFormat format, uint32_t width = 0, uint32_t height = 0);

void UtilPicCreate(const char* file, Image image);

#endif // _UTIL_PICTURE_H_
